package ru.spb.osll.myfit.common;

/**
 * Created by IntelliJ IDEA.
 * User: Vassar
 * Date: 04.03.2011
 * Time: 9:56:44
 * To change this template use File | Settings | File Templates.
 */
public class Content extends PageElement {
    private static final long serialVersionUID = 2L;
    private Integer m_level;
    public TreeNode m_treeNode;

    public Content(Integer level) {
        m_level = level;
    }

    public Content() {
    }

    public Integer getLevel() {
        return m_level;
    }

    public void setTreeNode(TreeNode treeNode) {
        m_treeNode = treeNode;
    }

    public TreeNode getTreeNode() {
        return m_treeNode;
    }

    @Override
    public PageElementType getType() {
        return PageElementType.CONTENT;
    }
}
